package com.meihuak.cloud_ordering.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 餐厅类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Canteen {
    @TableId(type = IdType.AUTO)private Integer id;
    private String name;//餐厅名
    private Integer winCount;//窗口数

    @Override
    public String toString() {
        return "Canteen{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", winCount=" + winCount +
                '}';
    }
}
